package com.niiwoo.civet.trade.dto.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created by lixiang on 2017/12/4.
 * 借款利率区间
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class ProjectRatePeriodDTO implements Serializable {
	private BigDecimal start;// 借款利率起
	private Byte beginQueryType; // 借款利率起查询类型：1大于，2大于等于，3等于
	private BigDecimal end;// 借款利率止
	private Byte endQueryType; //借款利率止查询类型：1小于，2小于等于，3等于

	public ProjectRatePeriodDTO(BigDecimal start, BigDecimal end) {
		this.start = start;
		this.end = end;
	}
}
